﻿using Dapper.DBContext.Schema;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Guoc.BigMall.Domain.Entity
{
    [Table("Distribute_member")]
    public class DistributeMember:BaseEntity
    {
        public DistributeMember() {
            this.CreatedOn = DateTime.Now;
        }

         public int MemberId { get; set; }

        /// <summary>
        ///  会员手机号，唯一
        /// </summary>
        public string Phone { get; set; }

        public int ParentMemberId { get; set; }
        public int Level { get; set; }

        /// <summary>
        ///  路径格式： #1#2#4#
        /// </summary>
        public string Path { get; set; }
        public DateTime CreatedOn { get; set; }
    }
}
